import React, {Component} from 'react'
import './song.styl'
class Song extends Component {
    constructor(props) {
        super(props)
        this.state = {}
    }

    render() {
        let {songList} = this.props
        return (
            <div className='songList'>
                <h3>热门歌单</h3>
                {
                    songList.map((val,index) => (
                        <div key={index} className='song_item'>
                            <img alt='' src={val.picUrl}/>
                            <i className='iconfont icon-16'></i>
                            <div className='text'>{val.songListDesc}</div>
                        </div>
                    ))
                }
            </div>
        )
    }
}

export default Song